<?

class Tag_Exception extends Exception {
	const CODE_WRONG_FORMAT = 0x1;
	const TXT_WRONG_FORMAT = '格式错误';
	const CODE_NO_ENDING_TAG = 0x2;
	const TXT_NO_ENDING_TAG = '标记未结束';
	
	public function __construct($message, $code){
		parent::__construct($message, $code);
	}
}